//---------------------------------------------------------------------
//  This file is part of the Background Motion solution.
// 
//  Copyright (C) Mindscape (TM).  All rights reserved.
//  http://www.mindscape.co.nz
// 
//  THIS CODE AND INFORMATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY
//  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
//  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//  PARTICULAR PURPOSE.
//---------------------------------------------------------------------

using Mindscape.BackgroundMotion.Website.Infrastructure;

namespace Mindscape.BackgroundMotion.Website.Views
{
  /// <summary>
  /// A view which is used to show results from a search
  /// </summary>
  public interface ISearchView : IView
  {
    /// <summary>
    /// The results of the current search
    /// </summary>
    ISearchResult Results { set; }
    
    /// <summary>
    /// Indicates if no data was found and an error message to that effect should be shown
    /// </summary>
    bool DisplayNoDataMessage { set; }

    /// <summary>
    /// Registers an RSS feed to be assigned to the search results
    /// </summary>
    /// <param name="arguments"></param>
    void RegisterRssFeed(string arguments);
  }
}